package it.yuzuojian.com.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Singer implements Serializable {
    private Integer id;
    private String name;
    private Integer sex;
    private String pic;
//    @JsonFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private Date birth;
    private String location;
    private String introduction;

}
